skytraq: rename option gps_utc_offset to gps-utc-offset, to be consistent with other...
authorMathias Adam <m.adam-github@adamis.de>
Sun, 20 Jan 2019 20:04:11 +0000 (21:04 +0100)
committerMathias Adam <mathias@alpha.inft.de>
Mon, 4 Feb 2019 11:02:31 +0000 (12:02 +0100)
skytraq.cc
xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml [new file with mode: 0644]
xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml [deleted file]
xmldoc/formats/options/skytraq-gps-utc-offset.xml [new file with mode: 0644]
xmldoc/formats/options/skytraq-gps_utc_offset.xml [deleted file]

index d86fcb04c0ac124bb6352bc36c7a924927e45bd4..20f07e01ec9cd8b7523f1fd14b054e4d7d0acb48 100644 (file)
@@ -115,7 +115,7 @@ arglist_t skytraq_args[] = {
     "0", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
   },
   {
-    "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)",
+    "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)",
     "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr
   },
   {
@@ -136,7 +136,7 @@ arglist_t skytraq_fargs[] = {
     "-1", ARGTYPE_INT, "-1", "65535", nullptr
   },
   {
-    "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)",
+    "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)",
     "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr
   },
   {
diff --git a/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml b/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/xmldoc/formats/options/skytraq-gps-utc-offset.xml b/xmldoc/formats/options/skytraq-gps-utc-offset.xml
new file mode 100644 (file)
index 0000000..d6656e8
--- /dev/null
@@ -0,0 +1,18 @@
+<para>
+gps-utc-offset is used to override the built-in table of offsets of
+the offset between GPS time and UTC time. This chipset reports only 
+GPS time to the host and relies on software to know every time an adjustment
+is made. Since GPS time offsets can change without a new version of GPSBabel
+is released, those that care about total accuracy can override it.
+
+<screen>
+<command>gpsbabel</command>
+-i skytraq.bin,gps-utc-offset=15 -f <replaceable>filename.bin</replaceable>
+</screen>
+
+Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009.
+</para>
+
+<para>
+Consult formal explanation of <ulink url="http://tycho.usno.navy.mil/leapsec.html">GPS time vs. UTC time</ulink> if you're into that.
+</para>
diff --git a/xmldoc/formats/options/skytraq-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-gps_utc_offset.xml
deleted file mode 100644 (file)
index de502c6..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<para>
-gps_utc_offset is used to override the built-in table of offsets of
-the offset between GPS time and UTC time. This chipset reports only 
-GPS time to the host and relies on software to know every time an adjustment
-is made. Since GPS time offsets can change without a new version of GPSBabel
-is released, those that care about total accuracy can override it.
-
-<screen>
-<command>gpsbabel</command>
--i skytraq.bin,gps_utc_offset=15 -f <replaceable>filename.bin</replaceable>
-</screen>
-
-Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009.
-</para>
-
-<para>
-Consult formal explanation of <ulink url="http://tycho.usno.navy.mil/leapsec.html">GPS time vs. UTC time</ulink> if you're into that.
-</para>